//     示例

export default [
  {
    url: /\/admin-api\/business\/project\/material\/page/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
        data: {
          total: 100,
          list: [
            {
              baseMaterial: 1,
              id: 1,
              productName: '杯子',
              imgUrl: 'https://p0.itc.cn/q_70/images03/20210306/b171f2818bd5480aa77cac01000cd5fc.jpeg',
              num: 12,
              unit: '个',
              remark: '备注',
              other: '其他',
            }
          ]
        }
      }
    }
  }, {
    url: /\/admin-api\/business\/project\/material\/create/,
    method: 'post',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  }, {
    url: /\/admin-api\/business\/project\/material\/update/,
    method: 'post',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  }, {
    url: /\/admin-api\/business\/project\/material\/delete/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  },
  {
    url: /\/admin-api\/business\/project\/material\/[0-9]$/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
        data: {
          baseMaterial: '1',
          id: '1',
          productName: '杯子',
          imgUrl: 'https://p0.itc.cn/q_70/images03/20210306/b171f2818bd5480aa77cac01000cd5fc.jpeg',
          num: 12,
          unit: '个',
          remark: '备注',
          other: '其他',
        }
      }
    }
  },
]
